package com.retail.lottery.colalottery.vo.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class QuestionAnswerRequest {
    /**
     * 业务单元
     */
    @NotBlank(message = "活动buCode不能为空")
    private String buCode;
    /**
     * 配置主键
     * setupid ,campaigncode,clientId 都是同一个
     */
    @NotBlank(message = "活动setupId不能为空")
    private String setupId;
    @NotBlank(message = "用户openId不能为空")
    private String openId;
    @NotBlank(message = "客户oneid不能为空")
    private String oneid;
    @NotBlank(message = "用户答题结果不能为空")
    private String answerOptionType;
    @NotNull(message = "题目id不能为空")
    private Integer questionId;
}
